home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / acpi-support / policy-funcs < prev    next >
Text File  |  2008-10-14  |  236b  |  9 lines

  1. CheckPolicy() {
  2.     if pidof gnome-power-manager kpowersave > /dev/null ||
  3.        (pidof dcopserver > /dev/null && test -x /usr/bin/dcop && /usr/bin/dcop kded kded loadedModules | grep -q klaptopdaemon) ; then
  4.         echo 0;
  5.     else
  6.         echo 1;
  7.     fi
  8. }
  9.